﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="inf245travelbusReporteVenta" targetNamespace="http://tempuri.org/inf245travelbusReporteVenta.xsd" xmlns:mstns="http://tempuri.org/inf245travelbusReporteVenta.xsd" xmlns="http://tempuri.org/inf245travelbusReporteVenta.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="inf245travelbusConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="inf245travelbusConnectionString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.inf245travelbusConnectionString.ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="sp_reporteVentaTableAdapter" GeneratorDataComponentClassName="sp_reporteVentaTableAdapter" Name="sp_reporteVenta" UserDataComponentName="sp_reporteVentaTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="inf245travelbusConnectionString (Web.config)" DbObjectName="inf245travelbus.dbo.sp_reporteVenta" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.sp_reporteVenta</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@fechaInicio" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="datetime" DbType="DateTime" Direction="Input" ParameterName="@fechaFinal" Precision="23" ProviderType="DateTime" Scale="3" Size="8" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@terminal" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="fecha_Pago" DataSetColumn="fecha_Pago" />
              <Mapping SourceColumn="idterminal" DataSetColumn="idterminal" />
              <Mapping SourceColumn="nombre" DataSetColumn="nombre" />
              <Mapping SourceColumn="Column1" DataSetColumn="Column1" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="inf245travelbusReporteVenta" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="inf245travelbusReporteVenta" msprop:Generator_UserDSName="inf245travelbusReporteVenta">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="sp_reporteVenta" msprop:Generator_TableClassName="sp_reporteVentaDataTable" msprop:Generator_TableVarName="tablesp_reporteVenta" msprop:Generator_RowChangedName="sp_reporteVentaRowChanged" msprop:Generator_TablePropName="sp_reporteVenta" msprop:Generator_RowDeletingName="sp_reporteVentaRowDeleting" msprop:Generator_RowChangingName="sp_reporteVentaRowChanging" msprop:Generator_RowEvHandlerName="sp_reporteVentaRowChangeEventHandler" msprop:Generator_RowDeletedName="sp_reporteVentaRowDeleted" msprop:Generator_RowClassName="sp_reporteVentaRow" msprop:Generator_UserTableName="sp_reporteVenta" msprop:Generator_RowEvArgName="sp_reporteVentaRowChangeEvent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="fecha_Pago" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnfecha_Pago" msprop:Generator_ColumnPropNameInRow="fecha_Pago" msprop:Generator_ColumnPropNameInTable="fecha_PagoColumn" msprop:Generator_UserColumnName="fecha_Pago" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="24" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="idterminal" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columnidterminal" msprop:Generator_ColumnPropNameInRow="idterminal" msprop:Generator_ColumnPropNameInTable="idterminalColumn" msprop:Generator_UserColumnName="idterminal" type="xs:int" />
              <xs:element name="nombre" msprop:Generator_ColumnVarNameInTable="columnnombre" msprop:Generator_ColumnPropNameInRow="nombre" msprop:Generator_ColumnPropNameInTable="nombreColumn" msprop:Generator_UserColumnName="nombre" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Column1" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnColumn1" msprop:Generator_ColumnPropNameInRow="Column1" msprop:Generator_ColumnPropNameInTable="Column1Column" msprop:Generator_UserColumnName="Column1" type="xs:decimal" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:sp_reporteVenta" />
      <xs:field xpath="mstns:idterminal" />
    </xs:unique>
  </xs:element>
</xs:schema>